﻿using System.ComponentModel.DataAnnotations;
using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("PRODUCTSHIPMENTINFOR_INFO","Test_Demo")]
    public partial class Productshipmentinforinfo
    {
           public Productshipmentinforinfo() { }

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="COMPANY必填" )]
           [StringLength(15, ErrorMessage ="COMPANY长度15" )]
           public string COMPANY {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="PACKNUM必填" )]
           public int PACKNUM {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="PARTNUM必填" )]
           [StringLength(30, ErrorMessage ="PARTNUM长度30" )]
           public string PARTNUM {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="SHIPQTY必填" )]
           [StringLength(18, ErrorMessage ="SHIPQTY长度18" )]
           public decimal SHIPQTY {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [StringLength(30, ErrorMessage ="LOTNUM长度30" )]
           public string LOTNUM {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="SHIPDATE必填" )]
           [StringLength(10, ErrorMessage ="SHIPDATE长度10" )]
           public DateTime SHIPDATE {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="PRODUCTIONLOT_C必填" )]
           [StringLength(30, ErrorMessage ="PRODUCTIONLOT_C长度30" )]
           public string PRODUCTIONLOT_C {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [StringLength(10, ErrorMessage ="HUYT长度10" )]
           public string HUYT {get;set;}

    }
}
